home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / card_30295.txt < prev    next >
Text File  |  1991-04-30  |  1KB  |  53 lines

  1. -- card: 30295 from stack: in.3r
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3837
  5. -- name: Files
  6.  
  7.  
  8. -- part contents for background part 5
  9. ----- text -----
  10. Files
  11.  
  12. -- part contents for background part 6
  13. ----- text -----
  14. Files is a XFCN to get a list of files in a HFS directory.  Files returns a list of all the files in a directory specified by pathname.
  15.  
  16.  
  17. This is freeware!
  18.  
  19.       Guy de Picciotto.
  20.  
  21. CIS: 73300,3637
  22. GENIE: G.PICCIOTO
  23.  
  24.  
  25. Ex. get Files("mydisk:hypercard","STAK,TEXT")
  26.       get Files("mydisk:hypercard")
  27.       get Files("","STAK")
  28.       get Files()
  29.    
  30.  
  31.  
  32. -- part contents for background part 7
  33. ----- text -----
  34. Syntax:
  35.  
  36. Files([pathname][,fileType])
  37.  
  38. Returns a list of files in an HFS directory (folder).  In case of an error, the routine will beep and return an empty string.
  39.  
  40.  
  41. The first parameter is the full pathname to the folder (if this is empty the default directory is used).
  42.  
  43. The second parameter is the file type. You can look for multiple types. If no second parameter is supplied, files will return all files.
  44.  
  45.  
  46.  
  47. -- part contents for background part 10
  48. ----- text -----
  49. 25
  50.  
  51. -- part contents for background part 27
  52. ----- text -----
  53. XFCN